<div class="input-group combobox">
  <input type="text" class="form-control" ng-model="label" ng-readonly="!editable || disabled">
  <span class="form-control input-handler" ng-if="!editable || disabled"></span>
  <div class="input-group-btn" uib-dropdown>
    <button type="button" class="btn btn-default dropdown-toggle" ng-disabled="disabled" uib-dropdown-toggle>
      <span class="caret"></span></button>
    <ul class="dropdown-menu dropdown-menu-right" uib-dropdown-menu>
      <li ng-repeat="option in options" ng-class="{'active': option.value == value, 'divider': option.value == '-'}">
        <a ng-if="option.value != '-'" href="javascript:void(0)"
            ng-style="option.style" ng-click="select(option)">{{option.label}}</a>
      </li>
    </ul>
  </div>
</div>
